<%--@elvariable id="workTypeId" type="java.lang.String"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>受限空间作业许可添加</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/workLicense/limitLicense/add.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<form id="form1" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">票证编号:</label>
                    <input readonly class="easyui-textbox" prompt="保存后自动生成" type="text" style="width:240px;">
                    <input type="hidden" class="hide" id="workTypeId" name="workTypeId" value="${workTypeId}">
                    <input type="hidden" class="hide" id="applyId" name="applyId">
                </div>
                <div class="form_one">
                    <label class="lable-style">申请人:</label>
                    <input id="applyUserName" name="applyUserName" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                    <input type="hidden" class="hide" name="applyUserId" id="applyUserId" >
                </div>
                <div class="form_one">
                    <label class="lable-style">申请部门:</label>
                    <input id="applyDeptId" name="applyDeptId" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">计划开始时间:</label>
                    <input id="planStartTime" name="planStartTime" class="easyui-datetimebox" data-options="required:true,validType:'startDateCompare[\'#planEndTime\']'" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">计划结束时间:</label>
                    <input id="planEndTime" name="planEndTime" class="easyui-datetimebox" data-options="required:true,validType:'endDateCompare[\'#planStartTime\']'" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">设备名称:</label>
                    <input id="deviceName" name="deviceName" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">原有介质:</label>
                    <input id="mediumName" name="mediumName" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px;">
                    <label class="lable-style">作业内容:</label>
                    <input id="workContent" name="workContent" type="text" class="easyui-textbox" data-options="multiline:true,required:true" style="height: 60px;width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px;">
                    <label class="lable-style">主要危险因素:</label>
                    <input id="dangerFactor" name="dangerFactor" type="text" class="easyui-textbox" data-options="required:true" style="width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">生产单位安全负责人:</label>
                    <input id="produceUserName" name="produceUserName" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                    <input type="hidden" class="hide" name="produceUserId" id="produceUserId" >
                </div>
                <div class="form_one">
                    <label class="lable-style">施工单位:</label>
                    <input id="contractorName" name="contractorName" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                    <input type="hidden" class="hide" id="contractorAuditId" name="contractorAuditId">
                    <input type="hidden" class="hide" id="contractorId" name="contractorId">
                </div>
                <div class="form_one">
                    <label class="lable-style">施工单位安全负责人:</label>
                    <input id="produceStaffName" name="produceStaffName" class="easyui-textbox" data-options="required:true" type="text" style="width:240px;">
                    <input type="hidden" class="hide" name="produceStaffId" id="produceStaffId" >
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">危害识别:</label>
                    <input id="dangerTypeIds" name="dangerTypeIds" class="easyui-combobox" data-options="required:true" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">作业人:</label>
                    <input id="workStaffName" name="workStaffName" class="easyui-textbox" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">监护人:</label>
                    <input id="watchStaffName" name="watchStaffName" class="easyui-textbox" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">采样检测时间:</label>
                    <input id="samplingTime" name="samplingTime" class="easyui-datetimebox" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">采样点:</label>
                    <input id="samplingPoint" name="samplingPoint" class="easyui-textbox" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">分析人:</label>
                    <input id="samplingUserName" name="samplingUserName" class="easyui-textbox" type="text" style="width:240px;">
                    <input type="hidden" class="hide" id="samplingUserId" name="samplingUserId">
                </div>
            </div>
            <div style="clear: both">

                <div class="form_one">
                    <label class="lable-style">含氧量:</label>
                    <input id="oxygenContent" name="oxygenContent" class="easyui-textbox" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">可燃气:</label>
                    <input id="flammableGas" name="flammableGas" class="easyui-textbox" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">有毒气:</label>
                    <input id="toxicGas" name="toxicGas" class="easyui-textbox" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px;">
                    <label class="lable-style">主要安全措施:</label>
                    <input id="safeMeasures" name="safeMeasures" type="text" class="easyui-textbox" data-options="multiline:true,required:true" style="height: 60px;width: 959px;"/>
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>相关附件</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_two" style="width: 1100px;">
                    <accessory:accessorySimple permission="write" packageKey="limit_license" uploadUserId="${sessionScope.loginUser.id}" accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>
